﻿using System;
using System.IO;
using Microsoft.Xna.Framework.Media.PhoneExtensions;

namespace SAFPodcast.WP8.DTO.TO
{
    public class DownloadDataItem
    {
        private Stream stream;
        private int completion;
        private bool canceled;

        public DownloadDataItem(int completion, Stream stream, bool canceled, SongMetadata song)
        {
            this.stream = stream;
            this.completion = completion;
            this.canceled = canceled;
            this.Song = song;
        }

        public Stream Stream
        {
            get { return stream; }
        }

        public bool Canceled
        {
            get { return canceled; }
        }

        public int Completion
        {
            get { return completion; }
        }

        public SongMetadata Song { get; private set; }
    }
}
